package com.moon.robot.service;

import com.forte.qqrobot.anno.depend.Beans;
import com.forte.qqrobot.anno.depend.Depend;
import com.moon.robot.mapper.QQMapper;
import com.moon.robot.pojo.Qq;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;


import java.util.List;

@Beans
@Component
public class QQServiceImpl implements QQService {
    @Autowired
    QQMapper qqMapper;

    @Override
    public Integer addAdmin(String s) {
        return qqMapper.addAdmin(s);
    }

    @Override
    public List<Qq> findAllQQ() {
        return qqMapper.findAllQQ();
    }
}
